package com.ajk.shop.exception;


public class ShopServerException extends RuntimeException {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	protected Integer status;
	
    public ShopServerException() {
    }
    
    public ShopServerException(Integer status,String message) {
        super(message);
        this.status = status;
    }
    
    public ShopServerException(Integer status,String message, Throwable cause) {

        super(message, cause);
        this.status = status;
    }

    public ShopServerException(Throwable cause) {

        super(cause);
    }

    public ShopServerException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {

        super(message, cause, enableSuppression, writableStackTrace);
    }
    
    public Integer getStatus() {
		return status;
	}
    
    public void setStatus(Integer status) {
		this.status = status;
	}
}
